<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="modal fade" id="edit-modal" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">

            <div class="modal-header">
                <h4 class="modal-title text-center">编辑学生</h4>
            </div>

            <div class="modal-body">
                <form id="formone" class="form-horizontal"
                      action="${pageContext.request.contextPath}/admin/StuServlet/change">

                    <div class="form-group">
                        <label for="name-input" class="col-sm-2 control-label">编号</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="id-input"
                                   readonly="readonly" name="sid">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="age-input" class="col-sm-2 control-label">姓名</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="name-input"
                                   name="sname">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="name-input" class="col-sm-2 control-label">年龄</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="age-input"
                                   name="sage">
                        </div>
                    </div>
                    <!-- 						<div class="form-group">
                                                <label for="age-input" class="col-sm-2 control-label">班级</label>
                                                <div class="col-sm-10">
                                                    <input type="text" class="form-control" id="clas-input"
                                                        name="scls">
                                                </div>
                                            </div> -->
                </form>
            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>

                <button id="logout-btn" type="submit" class="btn btn-danger"
                        data-dismiss="modal" form="formone">确定</button>
            </div>

        </div>
    </div>
</div>


</body>
</html>